<template>
	<view class="listbox">
		<view class="list" v-for="item,index in List" :key="item.id">
			<order-item :MyOrder='item' :tabList="tabList"></order-item>
		</view>
		<view class="more" v-if="List.length==0">
			<image class="myimage" src="/static/images/noList.png" mode="widthFix"
				style="width: 400rpx;margin: auto;display: block;"></image>
		</view>
	</view>
</template>

<script>
	import orderItem from "@/components/my/order/orderItem.vue"
	export default {
		name: "orderList",
		components: {
			orderItem
		},
		props: {
			List: {
				type: Array,
				default: []
			},
			tabList:{
				type: Array,
				default: []
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.listbox {
		overflow: hidden;
		width: 100%;

		.list {
			overflow: hidden;
			width: 100%;

			.line {
				display: flex;
				width: $connet-width;
				margin: 0 auto;
				color: #000000;
				justify-content: space-between;
				font-size: $uni-font-size-12;
			}
		}

		.more {
			margin-top: 440rpx;
		}
	}
</style>